Self-replicating shapes